var dbserver = require("../server/dbserver")

exports.applyFriend = (req,res)=>{
  let data = req.body;
  dbserver.applyFriend(data,res)
}

exports.updateFriendState = (req,res)=>{
  let data = req.body;
  dbserver.updateFriendState(data,res)
}

exports.deleteFriend = (req,res)=>{
  let data = req.body;
  dbserver.deleteFriend(data,res)
}